﻿<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="sec" uri="http://www.springframework.org/security/tags" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>

<fmt:setBundle basename="ApplicationMessage" />
<fmt:setLocale value="zh_CN" />

<div class="modal-dialog x-modal-dialog" style="width: 600px;margin-top: 150px;">

  <div class="modal-content">

    <div class="modal-header x-breadcrumb clearfix">

      <h2><i class="glyphicon glyphicon-fire" title=""></i>&nbsp;&nbsp;<span>学员课表详情</span></h2>

      <button type="button" class="close" data-dismiss="modal">&times;</button>

    </div>

      <div class="modal-body">

          <table class="table table-hover">
            <thead>
             <tr>
               <th>时间</th>
               <th>地点</th>
               <th>教练</th>
               <th>状态</th>
             </tr>
            </thead>
            <tbody>
               <c:forEach var="courseSchedule" items="${courseSchedules}">
                 <tr>
                   <td>${courseSchedule.occurDate}&nbsp;&nbsp;${courseSchedule.occurHour}</td> 
                   <td>${courseSchedule.site.name}</td>
                   <td>${courseSchedule.coach.name}</td>
                   <td>${courseSchedule.scheduleStatus.description}</td>
                 </tr>
               </c:forEach>
             </tbody>
           </table>
                 
        </div>
        
        <div class="modal-footer">
          <button type="button" class="btn x-btn btn-default" data-dismiss="modal">关&nbsp;&nbsp;闭</button>
        </div>

      </div>
      
  </div>

